<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div th:replace="~{commons::top}"></div>
<div style="height: 500px;">
    <div>
<!--   action       URL        规定当提交表单时向何处发送表单数据    -->
        <form action="/api/user/login" method="post">
            用户名:<input type="text" name="username"><br>
            密码：<input type="password" name="password"><br>
            <input type="submit" value="登录">
        </form>
    </div>
</div>
<div th:replace="~{commons::footer}"></div>
</body>
</html>